package cn.haona.db;

import java.io.Serializable;

/**
 * 关联实体
 * @author Administrator
 *
 */
public class RelevanceBean implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4610316926047940676L;
	//属性名
	public String paramName;
	//字段名
	public String fieldName;
	//是否主键
	public boolean isPrimary;
	
	public RelevanceBean(String paramName,String fieldName,boolean isPrimary)
	{
		setParamName(paramName);
		setFieldName(fieldName);
		setPrimary(isPrimary);
	}
	
	public RelevanceBean(String paramName,String fieldName)
	{
		setParamName(paramName);
		setFieldName(fieldName);
		setPrimary(false);
	}
	
	public String getParamName() {
		return paramName;
	}
	public void setParamName(String paramName) {
		this.paramName = paramName;
	}
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public boolean isPrimary() {
		return isPrimary;
	}
	public void setPrimary(boolean isPrimary) {
		this.isPrimary = isPrimary;
	}
	

}
